package com.sumi.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 商业伙伴对象 base_business_partner
 * 
 * @author fgf67@163.com
 * @date 2024-06-27
 */
public class BaseBusinessPartner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商业伙伴id */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String partnerName;

    /** 公司唯一标识SN编号 */
    @Excel(name = "公司唯一标识SN编号")
    private String partnerKey;

    /** 公司法人 */
    @Excel(name = "公司法人")
    private String partnerEntity;

    /** 是否供应商 */
    @Excel(name = "是否供应商")
    private String isSupplier;

    /** 是否客户 */
    @Excel(name = "是否客户")
    private String isCustomer;

    /** 公司省id */
    @Excel(name = "公司省id")
    private Long provinceId;

    /** 公司市id */
    @Excel(name = "公司市id")
    private Long cityId;

    /** 公司地区县id */
    @Excel(name = "公司地区县id")
    private Long areaId;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddr;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String partnerLicense;

    /** 客户开票电话 */
    @Excel(name = "客户开票电话")
    private String invoiceTel;

    /** 客户开票地址 */
    @Excel(name = "客户开票地址")
    private String invoiceAddress;

    /** 客户税号 */
    @Excel(name = "客户税号")
    private String taxId;

    /** 客户开户行 */
    @Excel(name = "客户开户行")
    private String openingBank;

    /** 客户银行账号 */
    @Excel(name = "客户银行账号")
    private String bankNum;

    /** 客户联行号(对接银行-银行唯一识别码) */
    @Excel(name = "客户联行号(对接银行-银行唯一识别码)")
    private String interbankNum;

    /** 注册资金 */
    @Excel(name = "注册资金")
    private String registerCapital;

    /** 综合评分 */
    @Excel(name = "综合评分")
    private String partnerScope;

    /** 公司类型 */
    @Excel(name = "公司类型")
    private String partnerType;

    /** 主营商品 */
    @Excel(name = "主营商品")
    private String mainProduct;

    /** 公司性质 */
    @Excel(name = "公司性质")
    private String partnerNature;

    /** 公司信誉 */
    @Excel(name = "公司信誉")
    private String partnerCredit;

    /** 公司行业 */
    @Excel(name = "公司行业")
    private String partnerIndustry;

    /** 客户来源 */
    @Excel(name = "客户来源")
    private String partnerFrom;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 是否可用(1启用，0停用) */
    @Excel(name = "是否可用(1启用，0停用)")
    private Integer isAvailable;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPartnerName(String partnerName) 
    {
        this.partnerName = partnerName;
    }

    public String getPartnerName() 
    {
        return partnerName;
    }
    public void setPartnerKey(String partnerKey) 
    {
        this.partnerKey = partnerKey;
    }

    public String getPartnerKey() 
    {
        return partnerKey;
    }
    public void setPartnerEntity(String partnerEntity) 
    {
        this.partnerEntity = partnerEntity;
    }

    public String getPartnerEntity() 
    {
        return partnerEntity;
    }
    public void setIsSupplier(String isSupplier) 
    {
        this.isSupplier = isSupplier;
    }

    public String getIsSupplier() 
    {
        return isSupplier;
    }
    public void setIsCustomer(String isCustomer) 
    {
        this.isCustomer = isCustomer;
    }

    public String getIsCustomer() 
    {
        return isCustomer;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setDetailAddr(String detailAddr) 
    {
        this.detailAddr = detailAddr;
    }

    public String getDetailAddr() 
    {
        return detailAddr;
    }
    public void setPartnerLicense(String partnerLicense) 
    {
        this.partnerLicense = partnerLicense;
    }

    public String getPartnerLicense() 
    {
        return partnerLicense;
    }
    public void setInvoiceTel(String invoiceTel) 
    {
        this.invoiceTel = invoiceTel;
    }

    public String getInvoiceTel() 
    {
        return invoiceTel;
    }
    public void setInvoiceAddress(String invoiceAddress) 
    {
        this.invoiceAddress = invoiceAddress;
    }

    public String getInvoiceAddress() 
    {
        return invoiceAddress;
    }
    public void setTaxId(String taxId) 
    {
        this.taxId = taxId;
    }

    public String getTaxId() 
    {
        return taxId;
    }
    public void setOpeningBank(String openingBank) 
    {
        this.openingBank = openingBank;
    }

    public String getOpeningBank() 
    {
        return openingBank;
    }
    public void setBankNum(String bankNum) 
    {
        this.bankNum = bankNum;
    }

    public String getBankNum() 
    {
        return bankNum;
    }
    public void setInterbankNum(String interbankNum) 
    {
        this.interbankNum = interbankNum;
    }

    public String getInterbankNum() 
    {
        return interbankNum;
    }
    public void setRegisterCapital(String registerCapital) 
    {
        this.registerCapital = registerCapital;
    }

    public String getRegisterCapital() 
    {
        return registerCapital;
    }
    public void setPartnerScope(String partnerScope) 
    {
        this.partnerScope = partnerScope;
    }

    public String getPartnerScope() 
    {
        return partnerScope;
    }
    public void setPartnerType(String partnerType) 
    {
        this.partnerType = partnerType;
    }

    public String getPartnerType() 
    {
        return partnerType;
    }
    public void setMainProduct(String mainProduct) 
    {
        this.mainProduct = mainProduct;
    }

    public String getMainProduct() 
    {
        return mainProduct;
    }
    public void setPartnerNature(String partnerNature) 
    {
        this.partnerNature = partnerNature;
    }

    public String getPartnerNature() 
    {
        return partnerNature;
    }
    public void setPartnerCredit(String partnerCredit) 
    {
        this.partnerCredit = partnerCredit;
    }

    public String getPartnerCredit() 
    {
        return partnerCredit;
    }
    public void setPartnerIndustry(String partnerIndustry) 
    {
        this.partnerIndustry = partnerIndustry;
    }

    public String getPartnerIndustry() 
    {
        return partnerIndustry;
    }
    public void setPartnerFrom(String partnerFrom) 
    {
        this.partnerFrom = partnerFrom;
    }

    public String getPartnerFrom() 
    {
        return partnerFrom;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsAvailable(Integer isAvailable) 
    {
        this.isAvailable = isAvailable;
    }

    public Integer getIsAvailable() 
    {
        return isAvailable;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partnerName", getPartnerName())
            .append("partnerKey", getPartnerKey())
            .append("partnerEntity", getPartnerEntity())
            .append("isSupplier", getIsSupplier())
            .append("isCustomer", getIsCustomer())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("areaId", getAreaId())
            .append("detailAddr", getDetailAddr())
            .append("partnerLicense", getPartnerLicense())
            .append("invoiceTel", getInvoiceTel())
            .append("invoiceAddress", getInvoiceAddress())
            .append("taxId", getTaxId())
            .append("openingBank", getOpeningBank())
            .append("bankNum", getBankNum())
            .append("interbankNum", getInterbankNum())
            .append("registerCapital", getRegisterCapital())
            .append("partnerScope", getPartnerScope())
            .append("partnerType", getPartnerType())
            .append("mainProduct", getMainProduct())
            .append("partnerNature", getPartnerNature())
            .append("partnerCredit", getPartnerCredit())
            .append("partnerIndustry", getPartnerIndustry())
            .append("partnerFrom", getPartnerFrom())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("isAvailable", getIsAvailable())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .toString();
    }
}
